package cn.tedu.lbs.basic.web.controller;

import cn.tedu.lbs.basic.web.mapper.UserTagsMapper;
import cn.tedu.lbs.basic.web.service.UserTagsService;
import com.tarena.lbs.base.protocol.exception.BusinessException;
import com.tarena.lbs.base.protocol.model.Result;
import com.tarena.lbs.pojo.basic.param.UserTagsParam;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class UserTagsController {
    @Autowired
    private UserTagsService userTagsService;
    @GetMapping("/basic/user/tag")
    public Result<Void> userAddTags(UserTagsParam userTagsParam)
        throws BusinessException{
        userTagsService.userAddTags(userTagsParam);
        return Result.success();
    }
}
